const fs = require('fs');
const readable = fs.createReadStream('text.txt');
readable.on('readable', () => {
    console.log('Read data:', readable.read());
});
readable.on('end', () => {
    console.log('end');
});
